<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>我是title</title>
    <meta name="title" content="我是meta的title">
    <link rel="stylesheet" href="../dist/css/share.css">
</head>

<body>
    <div>微博下没有meta的title，再读取title标签</div>
    <div id="share-1" data-initialized="true" style="margin-top:200px;margin-left:100px;">
        <a href="#" class="social-share-icon icon-weibo"></a>
        <a href="#" class="social-share-icon icon-wechat"></a>
    </div>
    <script src="../src/js/social-share.js"></script>
    <script src="../src/js/qrcode.js"></script>
    <script>
    socialShare('#share-1', {
        wechatQrcodeHelper: '',
        wechatQrcodeTitle:'',
        // 图片, 默认取网页中第一个img标签，否则使用logo
        // (document.querySelector('.service_guide_right').getElementsByTagName('img')[0] || 0).src
        image:(document.images[0] || 0).src || 'https://pic.solux.cn/PC/home/logo.png'
    });
    </script>
</body>
</html>